R6#sh run
Building configuration...

Current configuration : 1588 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R6
!
!
!
!
!
!
ip subnet-zero
ip tcp synwait-time 5
no ip domain-lookup
!
isdn switch-type basic-ni
!
!
!
!
!
interface Loopback0
 ip address 8.6.6.6 255.255.255.255
!
interface Ethernet0
 ip address 202.21.8.6 255.255.255.128
!
interface Serial0
 no ip address
 shutdown
 no fair-queue
!
interface Serial1
 ip address 202.21.8.166 255.255.255.252
!
interface Serial2
 ip address 202.21.8.170 255.255.255.252
!
interface Serial3
 ip address 161.8.144.2 255.255.255.252
 clockrate 64000
!
interface BRI0
 ip unnumbered Ethernet0
 encapsulation ppp
 dialer string 2024
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 2023
!
router bgp 86
 bgp router-id 8.6.6.6
 bgp cluster-id 3390376106
 bgp log-neighbor-changes
 network 202.21.8.0 mask 255.255.255.128
 network 202.21.8.164 mask 255.255.255.252
 network 202.21.8.168 mask 255.255.255.252
 neighbor 8.2.2.2 remote-as 8127
 neighbor 8.2.2.2 ebgp-multihop 2
 neighbor 8.2.2.2 update-source Loopback0
 neighbor 8.2.2.2 timers 200 600
 neighbor 8.2.2.2 route-map MED_Out out
 neighbor 161.8.136.7 remote-as 8127
 neighbor 161.8.136.7 ebgp-multihop 2
 neighbor 161.8.136.7 update-source Ethernet0
 neighbor 161.8.144.1 remote-as 89
!
ip classless
ip route 8.2.2.2 255.255.255.255 Serial1
ip route 8.2.2.2 255.255.255.255 Serial2
ip route 161.8.136.7 255.255.255.255 BRI0
ip http server
ip as-path access-list 1 permit ^$
!
dialer-list 1 protocol ip permit
route-map MED_Out permit 10
 match as-path 1
 set metric 250
!
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
line vty 0 4
!
end

R6#